package com.wsoft.bpm.query.node;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * 流程变量
 *
 * @Author zhonglj
 * @Date 2024/12/17 16:52
 */
@Data
@Accessors(chain = true)
public class VariableQuery {
    @NotBlank(message = "变量类型不能为空!")
    @Schema(description = "变量类型")
    private String type;
    @NotBlank(message = "当前模型id不能为空!")
    @Schema(description = "当前模型id")
    private String modelId;
    @NotBlank(message = "当前节点id不能为空!")
    @Schema(description = "当前节点id")
    private String activityId;
}
